<?php
/*
 * $Id: Example.php,v 1.2 2009-04-19 04:56:28 root Exp $
 */
require_once(realpath(dirname(__FILE__)).'/SocketServer.php');

$server = new tSocketServer();
$server->attachProtocol(new tSocketProtocol());
if ($server->Bind('127.0.0.1', 4111)){
	echo "Binded\n";
	$server->Start();
}

?>